package com.zcf.pojo;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author ZhaoQi
 * @since 2019-03-18
 */
public class RoomRecord extends Model<RoomRecord> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 房间ID
     */
    @TableField("clubid")
    private Integer clubid;
    @TableField("roomNum")
    private String roomNum;
    /**
     * 对局ID  
     */
    @TableField("gameId")
    private Integer gameId;
    private Long uid;
    private String phone;
    private String username;
    private String userimg;
    @TableField("winNumber")
    private Integer winNumber;//总输赢情况
    private Integer points; //底分
    @TableField("userCards")
    private String userCards;
    private Integer num;
   
    /**
     * 输赢情况
     */
    private Integer money;
    /**
     * 牌型
     */
    @TableField("cardType")
    private Integer cardType;
    /**
     * 战况  0失败  1战和  2胜利
     */
    private Integer type;
    @TableField("createTime")
    private Date createTime;
    /**
     * 备用字段   庄家ID
     */
    private Long beiyong;
    /**
     * 战绩类型 0簸簸牛牛  1经典牛牛 2推筒子
     */
    @TableField(exist = false)
    private Object data;
    @TableField("gameType")
    private Integer gameType;
    @TableField("roomType")
    private Integer roomType;//房间类型 0 普通 1俱乐部
    
    
    
    
    public Integer getNum() {
		return num;
	}

	public void setNum(Integer num) {
		this.num = num;
	}

	public Integer getRoomType() {
		return roomType;
	}

	public void setRoomType(Integer roomType) {
		this.roomType = roomType;
	}

	public Integer getGameType() {
		return gameType;
	}

	public void setGameType(Integer gameType) {
		this.gameType = gameType;
	}

	public String getUserimg() {
		return userimg;
	}

	public void setUserimg(String userimg) {
		this.userimg = userimg;
	}

	public String getUserCards() {
		return userCards;
	}

	public void setUserCards(String userCards) {
		this.userCards = userCards;
	}

	public Integer getPoints() {
		return points;
	}

	public void setPoints(Integer points) {
		this.points = points;
	}

	public Integer getWinNumber() {
		return winNumber;
	}

	public void setWinNumber(Integer winNumber) {
		this.winNumber = winNumber;
	}

	public Object getData() {
		return data;
	}

	public void setData(Object data) {
		this.data = data;
	}
	
	public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

   

    public Integer getClubid() {
		return clubid;
	}

	public void setClubid(Integer clubid) {
		this.clubid = clubid;
	}

	public String getRoomNum() {
        return roomNum;
    }

    public void setRoomNum(String roomNum) {
        this.roomNum = roomNum;
    }

    public Integer getGameId() {
        return gameId;
    }

    public void setGameId(Integer gameId) {
        this.gameId = gameId;
    }

    public Long getUid() {
        return uid;
    }

    public void setUid(Long uid) {
        this.uid = uid;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Integer getMoney() {
        return money;
    }

    public void setMoney(Integer money) {
        this.money = money;
    }

    public Integer getCardType() {
        return cardType;
    }

    public void setCardType(Integer cardType) {
        this.cardType = cardType;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getBeiyong() {
        return beiyong;
    }

    public void setBeiyong(Long beiyong) {
        this.beiyong = beiyong;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "RoomRecord{" +
        "id=" + id +
        ", clubid=" + clubid +
        ", roomNum=" + roomNum +
        ", gameId=" + gameId +
        ", uid=" + uid +
        ", phone=" + phone +
        ", username=" + username +
        ", money=" + money +
        ", cardType=" + cardType +
        ", type=" + type +
        ", createTime=" + createTime +
        ", beiyong=" + beiyong +
        "}";
    }
}
